<template>
  <div>
    <h2>Game</h2>
    
    <router-link tag="strong" :to="{
      name:'Item',
      params:{
        id:'001'
        
      }
    }"
      >麻辣鸡丝</router-link
    >
    <router-link
      tag="strong"
      :to="{
        name: 'Item',
        params: {
          id: '002',
          title: 'DNF',
        },
      }"
      >雨夜酒</router-link
    >
    <router-link
      tag="strong"
      :to="{
        name: 'Item',
        params: {
          id: '003',
        },
      }"
      >西红柿烧蛋 </router-link
    >
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "Game",
  mounted() {
    console.log("Game-mounted");
  },
};
</script>

<style></style>